import Vue from 'vue'
import App from './App.vue'
//vuex
import store from './vuex/store'
//router
import router from './router/index'
//antd script
import ElementUI from 'element-ui';
import './css/element-variables.scss';
Vue.use(ElementUI, { size: 'medium', zIndex: 3000 }); //, { size: 'medium', zIndex: 3000 }
//font
import './assets/font/iconfont.css'
//
global.$store = store;
global.$router = router;
// console.log($refs);
// global.jumpView = (data) => {
//     router.push({
//         name: data.name,
//         params: {
//             title: data.title,
//         }
//     })
//     console.log(store);
// }

Vue.config.productionTip = false
    //
new Vue({
    router, //加入我自己的路由
    store,
    render: h => h(App)
}).$mount('#app')